/*
 * @Author: zsc
 * @Date: 2022-06-14 22:16:24
 * @LastEditors: zsc
 * @LastEditTime: 2022-07-16 22:04:52
 * @Description: 房间列表
 */

import baseClass from '@/list/baseClass'
import _ from 'lodash'
export default class RoomClass extends baseClass {
  constructor(prop) {
    super(prop)
    this.index = _.get(prop, 'id', '')
  }
  list() {
    return [

      {
        name: '辖区',
        key: 'region',
        fixed: 'false',
        edit: false,
        show: true,
        value: 150
      },
      {
        name: '楼宇名称',
        key: 'building_info.name',
        fixed: '',
        edit: false,
        show: true,
        value: 150
      },
      {
        name: '楼层',
        key: 'floor_num',
        fixed: '',
        edit: false,
        show: true,
        value: 100
      },
      {
        name: '房间号',
        key: 'name',
        fixed: '',
        edit: false,
        show: true,
        value: 100
      },
      {
        name: '房间面积（㎡）',
        key: 'area',
        fixed: '',
        edit: false,
        show: true
      },
      {
        name: '操作',
        key: 'action',
        fixed: 'right',
        edit: false,
        show: true,
        value: 300
      }
    ]
  }
}
